package com.example.demo.config;

import com.example.demo.model.User;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

@Getter
@Setter
public class RegisterSuccessEvent extends ApplicationEvent {

    private User user;

    public RegisterSuccessEvent(User user) {
        super(user);
        this.user = user;
    }
}
